<include file="Public:head"/>
<link href="{:RES}/css/ss.css" rel="stylesheet" type="text/css"  />
<link href="{:RES}/css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="{:RES}/css/cymain.css" />
<link rel="stylesheet" type="text/css" href="{:STATICS}/css/default_user_com.css" media="all">

 <div class="content"  >
<div class="tab">
<ul>
<li class="<if condition="ACTION_NAME EQ 'index'">current</if> tabli" id="tab0"><a href="{:U('Lvyou/index',array('token'=>$token))}">旅游区简介</a></li>
<li class="<if condition="ACTION_NAME EQ 'son' ">current</if> tabli" id="tab2"><a href="{:U('Lvyou/son',array('token'=>$token))}">景区</a></li>
<li class="<if condition="ACTION_NAME EQ 'housetype' ">current</if> tabli" id="tab2"><a href="{:U('Lvyou/housetype',array('token'=>$token))}">景点</a></li>
<li class="<if condition="ACTION_NAME EQ 'album' or ACTION_NAME EQ 'album_add'">current</if> tabli" id="tab5"><a href="{:U('Lvyou/album',array('token'=>$token))}">风景相册</a></li>
<li class="<if condition="ACTION_NAME EQ 'expert'">current</if> tabli" id="tab5"><a href="{:U('Lvyou/expert',array('token'=>$token))}">游客点评</a></li>
<li class="<if condition="ACTION_NAME EQ 'lvyouindex'">current</if> tabli" id="tab6"><a href="{:U('lvyou/reservation',array('token'=>$token))}">预约管理</a></li>
</ul>
</div>
    <div class="cLine">
    <div class="alert">
    <p><span class="bold">使用方法：</span><if condition="$album neq ''">
                                    <span style="color:red;">（注：系统默认为至少添加3个相册,注意不要重复添加同一个相册）</span><span style="color:red;">（注：请不要重复添加同一个相册，否则删除一个同样的相册都删除）修改<strong><a href="{:U('Photo/index',array('token'=>$token))}"><font color='green'>[相册内容]</font></a></strong></span>
                                <else/>
                                 <span style="color:red;"> 请您先去［旅游区］添加景区。再来添加景点</span>
                                </if></p>
    </div>
</div>
          
          <div class="cLine">
            <div class="pageNavigator left">
                <a href="{:U('Lvyou/album_add',array('token'=>$token))}" class="btnGrayS vm bigbtn">
                    <img src="tpl/User/default/common/images/pic.png" class="vm">添加相册
                </a>
            </div>
            <div class="clr"></div>
          </div>
          <div class="msgWrap">
          <form method="post" action="" id="info">
          <input name="delall" type="hidden" value="del">
           <input name="wxid" type="hidden" value="gh_423dwjkewad">
            <table class="ListProduct" border="0" cellspacing="0" cellpadding="0" width="100%">
              <thead>
                                        <tr>
                                            <th class="span3">相册名称</th>
                                            <th class="span5">描述</th>
                                            <th class="span2">操作</th>
                                        </tr>
                                    </thead>
                                            <tbody>
                                        <if condition="$album eq ''">
                                        <tr>
                                        <td colspan="5" style="text-align:center; height:30px;"><strong></strong></td>
                                        </tr>
                                    <else/>
                                    <volist name="album" id="list">
                                        <tr> 
                                        <td style="">{$list['title']}</td>
                                        <td style="">{$list['info']}</td> 
                                        <td style="">
                                        <a href="{:U('Lvyou/album_add',array('poid'=>$list['id'],'token'=>$list['token']))}" class="btn">编辑</a>
                                        <a href="{:U('Lvyou/album_del',array('id'=>$list['id'],'token'=>$list['token']))}" onclick="return(confirm('确定要删除吗？'))" class="btn">删除</a></a>
</td>
                                        </tr>
                                    </volist>
                                    </if>
                                            </tbody>
            </table>
           </form> 
          </div>
          <div class="cLine">
            <div class="pageNavigator right">
                 <div class="pages">{$page}</div>
            </div>
            <div class="clr"></div>
          </div>
        </div>  
<include file="Public:footer"/>